package com.jxmcloud.business.cut.model.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jxmcloud.business.cut.vo.GiftBuyRecordVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 礼包购买记录查询参数
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GiftBuyRecordQuery extends Page<GiftBuyRecordVo> {
    
    private Long uid;                  // 用户ID
    private String loginName;           // 玄乐账号
    private String username;           // 玄乐用户
    private Long xlId;                 // 玄乐用户ID
    private Integer activityId;        // 活动ID
    private BigDecimal buyMoney;       // 购买金额
    private BigDecimal actualMoney;    // 实付金额
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;            // 开始时间
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;              // 结束时间
}